//
//  ViewController.m
//  大礼物
//
//  Created by lin on 17/6/6.
//  Copyright © 2017年 lin. All rights reserved.
//

#import "ViewController.h"


#import "MBSolveInfo.h"



@interface ViewController ()
@property(nonatomic,strong)MBSolveInfo *sovle;



@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    _sovle = [[MBSolveInfo alloc]init];
   

}
//XIB 按钮点击事件
- (IBAction)love:(id)sender {
    [self letDelegateShowAnimation:BigCustomeNameLove];
}
//XIB 按钮点击事件
- (IBAction)paoche:(id)sender {
    [self letDelegateShowAnimation:BigCustomeNameSuperCar];
}
//XIB 按钮点击事件
- (IBAction)huoche:(id)sender {
    [self letDelegateShowAnimation:BigCustomeNameTrain];
    
}

//XIB 按钮点击事件

- (IBAction)youlun:(id)sender {
    [self letDelegateShowAnimation:BigCustomeNameCruisship];
   
}
//XIB 按钮点击事件
-(void)letDelegateShowAnimation:(BigCustomeName)bigCustomeName{
    [_sovle showBigCustomWithName:bigCustomeName viewContoller:self];
}



@end
